#ifndef _TEST_APP
#define _TEST_APP


#include "sxMain.h"




class testApp : public sxApp {
	
	public:
    
		void setup();
		void update();
        void exit();
        void resized(int w, int h);
        
        
        void keyPress( sxKey& key );
        void keyRelease( sxKey& key );
        
        void mousePress( sxMouse& key );
        void mouseRelease( sxMouse& key );
        void mouseMove( sxMouse& key );
        void mouseDrag( sxMouse& key );
        void mouseScroll( sxMouse& key );
        void mouseDoubleclick( sxMouse& key );
        
        void touchDown( sxTouch& touch );
        void touchUp( sxTouch& touch );
        void touchMove( sxTouch& touch );
        
        void penPressure( sxPen& pen );
        void penOrientation( sxPen& pen );
        void penEnter( sxPen& pen );
        void penLeave( sxPen& pen );

        void widgetButton( sxButtonWidget& button );
        void widgetSlider( sxSliderWidget& slider );
        void widgetCheckbox( sxCheckboxWidget& checkbox );
        
        sxPanelWidget* panel1;
        sxSliderWidget* slider1;
        sxSliderWidget* slider2;
        sxTextShape* textbox1;
        sxCheckboxWidget* checkbox1;

};

#endif
	
